package com.wm.blog_common.result;

public enum CommonResultInfoEnum {
    SUCCESS(200, "操作成功"),
    ERROR(500, "服务异常");

    private Integer code;
    private String msg;

    public Integer getCode() {
        return this.code;
    }

    public String getMsg() {
        return this.msg;
    }

    private CommonResultInfoEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}